GUI Help > Special > getReadOnly

getReadOnly
bool readOnly=getReadOnly(handle editGadget)

Description:
Returns 1 if the specified edit gadget is read only (ie. the text cannot be edited) or 0 otherwise.

Return Value:
See Above

Parameters:
editGadget Handle to an edit gadget
Remarks:


See Also:
setReadOnly

Example:
(Note: You will need to include the GUI constants file for this example to work)